<div style="">
    <div style="float:left;">
        <h3><?php echo __('Standard informations') ?></h3>
        <?php $gameInfo = $replay->getGameInfo() ?>
        <table class="stdtable replay_info">
            <tr>
                <th><?php echo __('Map name') ?></th>
                <th><?php echo __('Match length') ?></th>
                <th><?php echo __('Game speed') ?></th>
                <th rowspan="2"><a href="<?php echo $replay->getDownloadLink() ?>"><?php echo __('Download replay') ?></a></th>
            </tr>
            <tr>
                <td><?php echo $replay->getMapName() ?></td>
                <td><?php echo ReplayPeer::getFormattedGameLength($replay->getGameLength()) ?></td>
                <td><?php echo $replay->getGameSpeed() ?></td>
            </tr>
        </table>

        <?php echo __('Description') ?>:
        <p><?php echo $replay->getDescription() ?></p>
        <?php echo __('Category') ?>:
        <p><?php echo $replay->getReplayCategory()->getName() ?></p>

    </div>
    <div style="float:right;">
        <h3><?php echo __('Players') ?></h3>
            <?php foreach ($replay->getPlayers() as $teamNum => $team) : ?>
            <table>
            <?php foreach ($team as $player): ?>
                <tr>
                    <td style="width:15px;">
                        <div class="pColorBox" style="background:#<?php echo $player['color'] ?>;"></div>
                    </td>
                    <td>
                        <?php echo $player['name'] ?>
                    </td>
                    <td>
                        <img alt="" title="" src="<?php echo RacePeer::getSmallImageUrlByName($player['race']) ?>"/>
                    </td>
                    <td>
                        <span title="<?php echo __('This players average APM was %%ss%%',array('%%ss%%' => $player['avg_apm'])) ?>" style="font-size:.8em;">(<?php echo $player['avg_apm'] ?>)</span>
                    </td>
            <?php endforeach; ?>
            </table>
                VS<br/>
            <?php endforeach; ?>
    </div>
    <div style="clear:both;"></div>
</div>